package com.library.bean;

/**
 * 图书类
 * @author Administrator
 *
 */
public class Book {	
	private int book_id; // ISBN号
	private String book_code; // 图书代码
	private String book_name; // 图书名
	private int book_total; // 库存总量
	private int lend_numl; // 借出书籍数量
	
	
	
	@Override
	public String toString() {
		return "Book [book_id=" + book_id + ", book_code=" + book_code + ", book_name=" + book_name + ", book_total="
				+ book_total + ", lend_numl=" + lend_numl + "]";
	}
	public Book() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Book(int book_id, String book_code, String book_name, int book_total, int lend_numl) {
		super();
		this.book_id = book_id;
		this.book_code = book_code;
		this.book_name = book_name;
		this.book_total = book_total;
		this.lend_numl = lend_numl;
	}
	public int getBook_id() {
		return book_id;
	}
	public void setBook_id(int book_id) {
		this.book_id = book_id;
	}
	public String getBook_code() {
		return book_code;
	}
	public void setBook_code(String book_code) {
		this.book_code = book_code;
	}
	public String getBook_name() {
		return book_name;
	}
	public void setBook_name(String book_name) {
		this.book_name = book_name;
	}
	public int getBook_total() {
		return book_total;
	}
	public void setBook_total(int book_total) {
		this.book_total = book_total;
	}
	public int getLend_numl() {
		return lend_numl;
	}
	public void setLend_numl(int lend_numl) {
		this.lend_numl = lend_numl;
	}
	
	
}
